#pragma once

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define N 6
typedef int data_type;
typedef struct stack
{
	data_type arr[N];
	int top;
}Stack;

enum res
{
	STACKNULL = -3,
	FULL,
	EMPTY,
	OK,
};


Stack* createStack(void);

int InStack(Stack* pStack, data_type item);

int OutStack(Stack* pStack, data_type* pData);